package com.artisan.boottraditionaldesign.service.impl;

import com.artisan.boottraditionaldesign.service.MessageService;
import org.springframework.stereotype.Service;

@Service("emailService")
public class EmailService implements MessageService {
    @Override
    public void sendMessage(String message) {
        System.out.println("Sending Email: " + message);
        // 实现邮件发送的逻辑
    }
}
